package com.woniu.service.impl;

import com.woniu.dao.MapUserLeaveDao;
import com.woniu.domain.MapUserLeave;
import com.woniu.service.MapUserLeaveService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author: LJY  <br/>
 * Date: 2021/6/9:11:02  <br/>
 * Description:学习进度业务实现类
 */
@Service
public class MapUserLeaveServiceImpl implements MapUserLeaveService {
    @Autowired(required = false)
    MapUserLeaveDao mapUserLeaveDao;
    @Override
    public List<MapUserLeave> getMapUserLeaveByMapId(Integer mapId) {
        return mapUserLeaveDao.getMapUserLeaveByMapId(mapId);
    }

    @Override
    public List<MapUserLeave> conditionQueryMapUserLeaveByMapId(MapUserLeave mapUserLeave) {
        return mapUserLeaveDao.conditionQueryMapUserLeaveByMapId(mapUserLeave);
    }
}
